<template>
  <view class="container">
    <text>当前选中日期：{{ selectedDate }}</text>
    <DatePicker title="选择日期" min-date="2018-06-14"   @confirm="handleConfirm" />
  </view>
</template>

<script setup>
import { ref } from 'vue'
import DatePicker from '../../components/DateSelectorController.vue' 
const selectedDate = ref('')
const handleConfirm = (date) => {
  selectedDate.value = date
}
</script>

<style scoped>
.container {
  padding: 16px;
}
</style>